﻿@using Snai.CMS.Manage.Models.Login

@model AdminLoginModel

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@Model.PageTitle - @Model.WebTitle - Snai.CMS</title>

    <link rel="stylesheet" href="~/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="~/css/site.css" />
</head>
<body>
    <div class="logon-content">
        <div class="logon-title">
            <div class="logon-title-logo"><img src="~/images/Snai64.jpg" alt="@Model.WebTitle" title="@Model.WebTitle" border="0" /></div>
            <div class="logon-title-context">@Model.WebTitle</div>
        </div>
        <form class="layui-form">
            <div class="layui-form-item">
                <label class="layui-form-label">用户名</label>
                <div class="layui-input-block width-290">
                    <input type="text" id="userName" name="userName" placeholder="请输入用户名" autocomplete="off" class="layui-input" maxlength="32">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密码</label>
                <div class="layui-input-block width-290">
                    <input type="password" id="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">验证码</label>
                <div class="layui-input-inline width-150">
                    <input type="text" id="verifyCode" name="verifyCode" placeholder="请输入验证码" autocomplete="off" class="layui-input" maxlength="6">
                </div>
                <div class="layui-form-mid">
                    <img id="imgVerify" src="~/Login/VerifyCode" alt="看不清？点击更换" title="看不清？点击更换" onclick="this.src = this.src + '?'+Math.random()" style="vertical-align:middle; cursor:pointer;" />
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="button" id="btnLogin" name="btnLogin" class="layui-btn">登 录</button>
                </div>
            </div>
        </form>
    </div>

    <script src="~/lib/jquery-3.3.1.min.js"></script>
    <script src="~/lib/layui/layui.js"></script>
    <script src="~/js/extensions.js"></script>
    <script src="~/js/utils.js"></script>
    <script src="~/js/login.js"></script>
</body>
</html>
